package com.hyfrogx.common.utils.enums;

/**
 * 订单状态类型
 *
 * @author wanglei
 * @date 2019-05-18 10:12:29
 */
public enum OrderStatusEnum {

	STATUS_CREATE("未付款", 101),
	STATUS_PAY("已付款", 201),
	STATUS_SHIP("已发货", 301),
	STATUS_CONFIRM("已收货", 401),
	STATUS_AUTO_CONFIRM("已收货(系统)", 402),
	STATUS_CANCEL("已取消", 102),
	STATUS_AUTO_CANCEL("已取消(系统)", 103),
	STATUS_CANCEL_SELLER("商家取消", 104),
	STATUS_REFUND("退款中", 202),
	STATUS_REFUND_CONFIRM("已退款", 203),
	STATUS_WRITTEN_OFF("待核销", 501),
	STATUS_WRITTEN_OFF_CONFIRM("已核销", 502),
	STATUS_WRITTEN_OFF_EXPIRED("已过期", 503),
	STATUS_COMMENT("待评价", 601),
	STATUS_COMMENT_AUTO("已评价（系统）", 602),
	STATUS_COMMENT_CONFIRM("已评价", 603);

	private String name;
	private int value;

	OrderStatusEnum(String name, int value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public int getValue() {
		return value;
	}
}
